<?php
class ModelToDB_Converter_ToLower extends ModelToDB_Converter {
	
	private $defaultTableName;
	
	protected $pattern_table = 		'/@([a-zA-Z0-9_]+)/';
	protected $pattern_attribute = 	'/(@([a-zA-Z0-9_]+)\.){0,1}\$([a-zA-Z0-9_]+)/';
	
	protected function callbackReplace($matches) {
	}
	
	public function getTableName($model_name) {
		return strtolower($model_name);
	}
	
	public function getColumnName($attribute_name) {
		return strtolower($attribute_name);
	}
}
?>